package com.woniu.outlet.mysql.dao;

import com.woniu.outlet.mysql.po.ProductBuyMySQL;
import com.woniu.outlet.mysql.po.ProductBuyMySQLExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductBuyDao {
    long countByExample(ProductBuyMySQLExample example);

    int deleteByExample(ProductBuyMySQLExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ProductBuyMySQL record);

    int insertSelective(ProductBuyMySQL record);

    List<ProductBuyMySQL> selectByExample(ProductBuyMySQLExample example);

    ProductBuyMySQL selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ProductBuyMySQL record, @Param("example") ProductBuyMySQLExample example);

    int updateByExample(@Param("record") ProductBuyMySQL record, @Param("example") ProductBuyMySQLExample example);

    int updateByPrimaryKeySelective(ProductBuyMySQL record);

    int updateByPrimaryKey(ProductBuyMySQL record);
}